package com.ruoyi.product.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.product.vo.TbProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.api.model.PageInfoVo;
import com.ruoyi.system.api.model.ProductInfoVo;

/**
 *
 */
public interface TbProductService extends IService<TbProduct> {

    AjaxResult list(PageInfoVo pageInfoVo);

    AjaxResult add(TbProduct tbProduct);

    AjaxResult updateById(ProductInfoVo productInfoVo);

    AjaxResult deleteById(Integer id);
}
